package com.liyiqing.secondhandmall.memberservice.dao;

import com.liyiqing.secondhandmall.memberservice.entity.MemberUserCollectSpuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 某账号收藏的商品
 * 
 * @author LiYiQing
 * @email 1570865668@qq.com
 * @date 2022-02-18 22:47:22
 */
@Mapper
public interface MemberUserCollectSpuDao extends BaseMapper<MemberUserCollectSpuEntity> {

    List<MemberUserCollectSpuEntity> selectRecordByMemberId(Long memberId);

    MemberUserCollectSpuEntity selectRecordByMidAndSid(Long memberId, Long spuId);
}
